from django.urls import path
from rest_framework.routers import SimpleRouter, DefaultRouter
from study.views import StudentViewSet, ClassesViewSet
# from rest_framework_jwt.views import obtain_jwt_token
# from rest_framework_simplejwt.views import TokenObtainSlidingView
from .views import MyTokenView, ImageVerifyView, UserViewSet

urlpatterns = [
    # path('login/', obtain_jwt_token)
    # path('login/', TokenObtainSlidingView.as_view())
    path('login/', MyTokenView.as_view()),
    # path('image/verification/', ImageVerifyView.as_view()),
    path('image/verification/<uuid>/', ImageVerifyView.as_view()),
]
router = DefaultRouter()
router.register('user', UserViewSet)
urlpatterns += router.urls
